package cn.kimming.rpc.remoting.serialization;

import io.protostuff.LinkedBuffer;
import io.protostuff.ProtostuffIOUtil;
import io.protostuff.Schema;

/**
 * 序列化接口
 */
public interface ISerialization {
    <T> byte[] serialize(T obj);

    <T> T deserialize(byte[] data, Class<T> cls);
}
